<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JavaWeb访问路径</title>
</head>
<body>

Demo01.html访问ServletDemo01的绝对路径:
<a href="http://localhost:8080/Day05_servlet/demo01">ServletDemo01</a>
<a href="/day05_servlet/Demo01">ServletDemo01</a>

<hr/>

Demo01.html访问ServletDemo01的相对路径:
<a href="../demo01">ServletDemo01</a>

</body>
</html>